#ifndef RIGHTMOUSECONTROLLER_H
#define RIGHTMOUSECONTROLLER_H

#include "scene/mousecontroller.h"
#include "scene/wsyscene.h"

/** 右键的鼠标操作 */
class RightMouseController: public MouseController
{
public:
    RightMouseController(WSYScene *scene_0, QWidget *widget_0):MouseController(scene_0, widget_0) {

    }
    /** 鼠标移动的事件 */
    virtual void mouseMoveEvent(QMouseEvent *event);
    /** 鼠标按下的事件 */
    virtual void mousePressEvent(QMouseEvent *event);
    /** 鼠标松开的事件 */
    virtual void mouseReleaseEvent(QMouseEvent *event);
private:
    Vertex3D *cPosition/* 位置信息 */, *cLookAt/* 焦点 */;
    Vector3D *xDirection/* x方向 */, *yDirection/* y方向 */;
};

#endif // RIGHTMOUSECONTROLLER_H
